package com.hnx.admin.security.core;

import com.hnx.admin.security.api.SecurityAPI;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/*
项目名称： core
创 建 人: 倔强的头发
创建日期： 2025/5/26   15:49:00 
描   述：
*/
@Getter
@Setter
@ConfigurationProperties(prefix = SecurityProperties.PREFIX)
public class SecurityProperties implements SecurityAPI {
    // 允许访问的开放API列表
    private String[] openApi = {};
    private String[] getApi = {};
    //最大错误次数
    private Integer maxRetryCount = MAX_RETRY_COUNT;
    //锁定时间(分钟)
    private Integer lockTime = LOCK_TIME;
}
